package com.zx._10_设计模式._0_综合案例.任务状态变更;

public class Main {

    public static void main(String[] args) {
        Task task = new Task();
        task.setTaskId(1L);


        task.action(ActionType.START);

        task.action(ActionType.STOP);

        task.action(ActionType.START);

        task.action(ActionType.ACHIEVE);

        task.action(ActionType.ACHIEVE);

    }

}
